a=int(input())
b=int(input())
for i in range(0,a):
    c=int(input())
    print(b+c)
